package org.unicat.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class JspController {
    @RequestMapping("/adminAddStudentPage")
    public String adminAddStudent(Model model) {
        return "adminAddStudent";
    }

    @RequestMapping("/findStudentByNamePage")
    public String adminFindStudentByName(Model model) {
        return "adminFindStudentByName";
    }

    @RequestMapping("/deleteStudentByNamePage")
    public String adminDeleteStudentByName(Model model) {
        return "adminDeleteStudentByName";
    }

    @RequestMapping("/adminAddTeacherPage")
    public String adminAddTeacherPage(Model model) {
        return "adminAddTeacher";
    }

    @RequestMapping("/findTeacherByNamePage")
    public String findTeacherByNamePage(Model model) {
        return "adminFindTeacherByName";
    }

    @RequestMapping("/deleteTeacherByNamePage")
    public String adminDeleteTeacherByName(Model model) {
        return "adminDeleteTeacherByName";
    }

}
